package com.sky.vo;

import com.sky.pojo.DishFlavor;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.ArrayList;
import java.util.List;

/*
*
* 增加菜品口味VO*/
@Data
@AllArgsConstructor
@NoArgsConstructor
public class DishFlavorsVO {
    private Long id;
    //菜品名称
    private String name;
    //菜品分类id
    private Long categoryId;
    //菜品价格
    private BigDecimal price;
    //图片
    private String image;
    //描述信息
    private String description;
    //0 停售 1 起售
    private Integer status;
    //更新时间
    private LocalDateTime updateTime;

    private LocalDateTime createTime;
    //分类名称
    private String categoryName;

    private Long createUser;

    private Long updateUser;

    private Integer makeTime;//  菜品制作时间
    //菜品关联的口味
    private List<DishFlavor> flavors = new ArrayList<>();
}
